/* 字体图标引入 */
@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?tomleg");
  src: url("../fonts/icomoon.eot?tomleg#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.ttf?tomleg") format("truetype"),
    url("../fonts/icomoon.woff?tomleg") format("woff"),
    url("../fonts/icomoon.svg?tomleg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.text_red {
  color: #c40000;
}

/* 内容宽度 */
.w {
  width: 1200px;
  margin: auto;
}
/* 清除浮动 */
.clearfix::after {
  content: "";
  height: 0;
  display: block;
  visibility: hidden;
  clear: both;
}
/* 左浮动 */
.fl {
  float: left;
}
/* 右浮动 */
.fr {
  float: right;
}

header {
  height: 30px;
  line-height: 30px;
  background-color: #f1f1f1;
}
.header_left li {
  float: left;
}
.header_right li {
  float: left;
}
.header_right li:nth-child(even) {
  margin: 0 8px;
}
.header_right .arrow_down::after {
  font-family: "icomoon";
  content: "\e91e";
  margin-left: 8px;
}

.search {
  position: relative;
  height: 106px;
}

.search .logo {
  position: absolute;

  font-size: 0;
  top: 50%;
  margin-top: -30px;
  left: 0;
}

.search .logo a {
  display: block;
  height: 61px;
  width: 171px;
  background: url(../images/logo.png);
}

.search .search_input {
  position: absolute;
  height: 34px;
  width: 540px;
  top: 26px;
  left: 50%;
  margin-left: -270px;
  border: 2px solid #c40000;
  display: flex;
}

.search .search_input input {
  flex: 1;
  padding-left: 16px;
}

.search .search_input button {
  width: 82px;
  background-color: #c40000;
  color: #f1f1f1;
  border: 0;
  font-size: 14px;
}

.search_hots {
  position: absolute;
  top: 64px;
  left: 50%;
  margin-left: -270px;
}

.search_hots li {
  float: left;
  padding-right: 12px;
}
.shopcart {
  position: absolute;
  height: 36px;
  line-height: 36px;
  text-align: center;
  width: 140px;
  top: 26px;
  right: 64px;
  border: 1px solid #f1f1f1;
  background-color: #f7f7f7;
}

.shopcart::before {
  position: absolute;
  left: 20px;
  font-family: "icomoon";
  content: "\e93a";
  color: #c40000;
}

.shopcart::after {
  position: absolute;
  right: 20px;
  font-family: "icomoon";
  content: "\e920";
}

.shopcart > i {
  position: absolute;
  height: 18px;
  top: -10px;
  padding: 0 4px;
  color: #f7f7f7;
  line-height: 18px;
  background-color: #c40000;
  border-radius: 8px 8px 8px 0;
}
